const indexdataTpl = require('../views/indexdata.html')
import getdata from '../models/getdata';
import Bscroll from 'better-scroll';
class RenderIndex{
    constructor(){
        
    }
    async render(){
        // let res = await getdata.gethome();
        let list = (await getdata.gethome()).suggest;
        //console.log(list);
        let html = template.render(indexdataTpl,{
            list
        })
        $(".content-more-list").html(html);
       
    }
}

export default new RenderIndex();